var Router = require('koa-router');
var service = require('./service');

var router = module.exports = new Router({
  prefix: '/assistant'
});

// 群组公告
router.get('/notice/:id', function * (next) {
  var data = yield service.getNotice(this, this.params.id);
  this.body = this.template.render('templates/notice.html', data);
});